package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class OutForSOQueryActivity extends UMWindowActivity {

	protected UMWindow OutForSOQuery = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton button0 = null;
protected UMLabel label0 = null;
protected UMButton button3 = null;
protected XVerticalLayout panel0 = null;
protected XHorizontalLayout panel1 = null;
protected UMLabel label2 = null;
protected UMLabel qmaterial = null;
protected UMImageButton imagebutton0 = null;
protected XHorizontalLayout panel2 = null;
protected UMLabel label7 = null;
protected UMTextbox qbillcode = null;
protected XHorizontalLayout panel3 = null;
protected UMLabel label9 = null;
protected UMLabel qdept = null;
protected UMImageButton imagebutton1 = null;
protected XHorizontalLayout panel4 = null;
protected UMLabel label14 = null;
protected UMLabel qcustomer = null;
protected UMImageButton imagebutton2 = null;
protected XHorizontalLayout panel5 = null;
protected UMLabel label19 = null;
protected UMTextbox qbatchcode = null;
protected XHorizontalLayout panel6 = null;
protected UMLabel label21 = null;
protected UMDateEdit qbilldatestar = null;
protected XHorizontalLayout panel7 = null;
protected UMLabel label23 = null;
protected UMDateEdit qbilldateend = null;
protected XHorizontalLayout panel8 = null;
protected UMLabel label25 = null;
protected UMDateEdit qsenddatestar = null;
protected XHorizontalLayout panel9 = null;
protected UMLabel label27 = null;
protected UMDateEdit qsenddateend = null;
protected XHorizontalLayout panel10 = null;
protected UMButton button2 = null;

	
	protected final static int ID_OUTFORSOQUERY = 839125834;
protected final static int ID_VIEWPAGE0 = 1483416621;
protected final static int ID_NAVIGATORBAR0 = 572802186;
protected final static int ID_BUTTON0 = 926434834;
protected final static int ID_LABEL0 = 1922854848;
protected final static int ID_BUTTON3 = 1237349508;
protected final static int ID_PANEL0 = 1644619303;
protected final static int ID_PANEL1 = 373297494;
protected final static int ID_LABEL2 = 1174678950;
protected final static int ID_QMATERIAL = 1089115740;
protected final static int ID_IMAGEBUTTON0 = 773983672;
protected final static int ID_PANEL2 = 1083224387;
protected final static int ID_LABEL7 = 558950525;
protected final static int ID_QBILLCODE = 1648200481;
protected final static int ID_PANEL3 = 1158701668;
protected final static int ID_LABEL9 = 1164365840;
protected final static int ID_QDEPT = 955723942;
protected final static int ID_IMAGEBUTTON1 = 1643614493;
protected final static int ID_PANEL4 = 804502525;
protected final static int ID_LABEL14 = 1175342781;
protected final static int ID_QCUSTOMER = 1237824726;
protected final static int ID_IMAGEBUTTON2 = 1564772042;
protected final static int ID_PANEL5 = 1202214641;
protected final static int ID_LABEL19 = 912345389;
protected final static int ID_QBATCHCODE = 1411809563;
protected final static int ID_PANEL6 = 1844231259;
protected final static int ID_LABEL21 = 865571384;
protected final static int ID_QBILLDATESTAR = 42480105;
protected final static int ID_PANEL7 = 202879664;
protected final static int ID_LABEL23 = 1772550;
protected final static int ID_QBILLDATEEND = 196770427;
protected final static int ID_PANEL8 = 1396871172;
protected final static int ID_LABEL25 = 2138918646;
protected final static int ID_QSENDDATESTAR = 1477417334;
protected final static int ID_PANEL9 = 361360564;
protected final static int ID_LABEL27 = 911545722;
protected final static int ID_QSENDDATEEND = 1484267841;
protected final static int ID_PANEL10 = 1662528574;
protected final static int ID_BUTTON2 = 986076703;

	
	
	@Override
	public String getControllerName() {
		return "OutForSOQueryController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		
		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("OutForSOQuery",ID_OUTFORSOQUERY);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("label0",ID_LABEL0);
  idmap.put("button3",ID_BUTTON3);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("label2",ID_LABEL2);
  idmap.put("qmaterial",ID_QMATERIAL);
  idmap.put("imagebutton0",ID_IMAGEBUTTON0);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("label7",ID_LABEL7);
  idmap.put("qbillcode",ID_QBILLCODE);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("label9",ID_LABEL9);
  idmap.put("qdept",ID_QDEPT);
  idmap.put("imagebutton1",ID_IMAGEBUTTON1);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("label14",ID_LABEL14);
  idmap.put("qcustomer",ID_QCUSTOMER);
  idmap.put("imagebutton2",ID_IMAGEBUTTON2);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("label19",ID_LABEL19);
  idmap.put("qbatchcode",ID_QBATCHCODE);
  idmap.put("panel6",ID_PANEL6);
  idmap.put("label21",ID_LABEL21);
  idmap.put("qbilldatestar",ID_QBILLDATESTAR);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("label23",ID_LABEL23);
  idmap.put("qbilldateend",ID_QBILLDATEEND);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("label25",ID_LABEL25);
  idmap.put("qsenddatestar",ID_QSENDDATESTAR);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("label27",ID_LABEL27);
  idmap.put("qsenddateend",ID_QSENDDATEEND);
  idmap.put("panel10",ID_PANEL10);
  idmap.put("button2",ID_BUTTON2);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //panel0 - action:panel0_onload
    UMEventArgs args = new UMEventArgs(OutForSOQueryActivity.this);
    actionPanel0_onload(panel0,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","查询条件"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#e50011"
,"color","#ffffff"
,"onclick","action:button0_onclick"
,"width","44"
,"font-size","20"
,"font-family","default"
,"valign","center"
,"background-image","icon_back.png"
,"layout-type","hbox"
,"halign","center"
,"height","44"
);
navigatorbar0.addView(button0);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"width","0"
,"weight","1"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
navigatorbar0.addView(label0);
button3 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON3
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button3_onclick"
,"font-size","17"
,"valign","center"
,"widthwrap","54.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","清空值"
,"height","44"
);
navigatorbar0.addView(button3);

return navigatorbar0;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL1
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"margin-left","5"
,"color","#000000"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","32.0"
,"content","物料"
,"height","fill"
);
panel1.addView(label2);
qmaterial = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_QMATERIAL
,"bindfield","qmaterial"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"height","fill"
);
panel1.addView(qmaterial);
imagebutton0 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON0
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","btn_add_touch.png"
,"onclick","action:imagebutton0_onclick"
,"icon-height","40"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","btn_add.png"
,"istogglebutton","false"
,"width","64"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","40"
,"value","图标名称"
,"height","49"
);
panel1.addView(imagebutton0);

return panel1;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label7 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL7
,"color","#333333"
,"font-size","15"
,"valign","center"
,"widthwrap","48.0"
,"content","单据号"
,"margin-right","4"
,"margin-left","5"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel2.addView(label7);
qbillcode = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_QBILLCODE
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","qbillcode"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel2.addView(qbillcode);

return panel2;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL3
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"margin-left","5"
,"color","#000000"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","64.0"
,"content","发货部门"
,"height","fill"
);
panel3.addView(label9);
qdept = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_QDEPT
,"bindfield","qdept"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"height","fill"
);
panel3.addView(qdept);
imagebutton1 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON1
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","btn_add_touch.png"
,"onclick","action:imagebutton1_onclick"
,"icon-height","40"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","btn_add.png"
,"istogglebutton","false"
,"width","64"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","40"
,"value","图标名称"
,"height","49"
);
panel3.addView(imagebutton1);

return panel3;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL4
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label14 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL14
,"margin-left","5"
,"color","#000000"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","32.0"
,"content","客户"
,"height","fill"
);
panel4.addView(label14);
qcustomer = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_QCUSTOMER
,"bindfield","qcustomer"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"height","fill"
);
panel4.addView(qcustomer);
imagebutton2 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON2
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","btn_add_touch.png"
,"onclick","action:imagebutton2_onclick"
,"icon-height","40"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","btn_add.png"
,"istogglebutton","false"
,"width","64"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","40"
,"value","图标名称"
,"height","49"
);
panel4.addView(imagebutton2);

return panel4;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL5
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label19 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL19
,"color","#333333"
,"font-size","15"
,"valign","center"
,"widthwrap","48.0"
,"content","批次号"
,"margin-right","4"
,"margin-left","5"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel5.addView(label19);
qbatchcode = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_QBATCHCODE
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","qbatchcode"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel5.addView(qbatchcode);

return panel5;
}
public View getPanel6View(final UMActivity context,IBinderGroup binderGroup) {
panel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL6
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label21 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL21
,"color","#333333"
,"font-size","15"
,"valign","center"
,"widthwrap","80.0"
,"content","单据日期从"
,"margin-right","4"
,"margin-left","5"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel6.addView(label21);
qbilldatestar = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_QBILLDATESTAR
,"color","#167ef8"
,"padding-left","4"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","15"
,"bindfield","qbilldatestar"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel6.addView(qbilldatestar);

return panel6;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL7
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label23 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL23
,"color","#333333"
,"font-size","15"
,"valign","center"
,"widthwrap","80.0"
,"content","单据日期到"
,"margin-right","4"
,"margin-left","5"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel7.addView(label23);
qbilldateend = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_QBILLDATEEND
,"color","#167ef8"
,"padding-left","4"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","15"
,"bindfield","qbilldateend"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel7.addView(qbilldateend);

return panel7;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL8
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label25 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL25
,"color","#333333"
,"font-size","15"
,"valign","center"
,"widthwrap","80.0"
,"content","发货日期从"
,"margin-right","4"
,"margin-left","5"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel8.addView(label25);
qsenddatestar = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_QSENDDATESTAR
,"color","#167ef8"
,"padding-left","4"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","15"
,"bindfield","qsenddatestar"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel8.addView(qsenddatestar);

return panel8;
}
public View getPanel9View(final UMActivity context,IBinderGroup binderGroup) {
panel9 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL9
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label27 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL27
,"color","#333333"
,"font-size","15"
,"valign","center"
,"widthwrap","80.0"
,"content","发货日期到"
,"margin-right","4"
,"margin-left","5"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel9.addView(label27);
qsenddateend = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_QSENDDATEEND
,"color","#167ef8"
,"padding-left","4"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","15"
,"bindfield","qsenddateend"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel9.addView(qsenddateend);

return panel9;
}
public View getPanel10View(final UMActivity context,IBinderGroup binderGroup) {
panel10 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL10
,"width","fill"
,"valign","top"
,"layout-type","vbox"
,"halign","CENTER"
,"height","60.0"
);
button2 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON2
,"color","#ffffff"
,"onclick","action:button2_onclick"
,"font-size","17"
,"valign","center"
,"margin-right","10"
,"margin-left","10"
,"background","#ff0000"
,"width","fill"
,"font-family","default"
,"margin-top","20"
,"layout-type","hbox"
,"halign","center"
,"value","查询"
,"height","44"
);
panel10.addView(button2);

return panel10;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL0
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:panel0_onload"
,"height","fill"
);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
panel0.addView(panel1);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
panel0.addView(panel2);
View panel3 = (View) getPanel3View((UMActivity)context,binderGroup);
panel0.addView(panel3);
View panel4 = (View) getPanel4View((UMActivity)context,binderGroup);
panel0.addView(panel4);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
panel0.addView(panel5);
View panel6 = (View) getPanel6View((UMActivity)context,binderGroup);
panel0.addView(panel6);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
panel0.addView(panel7);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
panel0.addView(panel8);
View panel9 = (View) getPanel9View((UMActivity)context,binderGroup);
panel0.addView(panel9);
View panel10 = (View) getPanel10View((UMActivity)context,binderGroup);
panel0.addView(panel10);

return panel0;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F5F5F5"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
viewPage0.addView(panel0);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
OutForSOQuery = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_OUTFORSOQUERY
,"layout","vbox"
,"controller","OutForSOQueryController"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
OutForSOQuery.addView(viewPage0);

return (UMWindow)OutForSOQuery;
}

	
	public void actionImagebutton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.materialRef()",UMActivity.getViewId(control),args);
}
public void actionButton2_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button2_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.doQuery()",UMActivity.getViewId(control),args);
}
public void actionButton3_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button3_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.doClear()",UMActivity.getViewId(control),args);
}
public void actionPanel0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "panel0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.onload()",UMActivity.getViewId(control),args);
}
public void actionImagebutton2_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton2_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.customerRef()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.cancle()",UMActivity.getViewId(control),args);
}
public void actionImagebutton1_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton1_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.deptRef()",UMActivity.getViewId(control),args);
}


}
